package campus.mapper;

import campus.model.CredentialsLog;
import campus.model.CredentialsLogExample;
import java.util.List;

import campus.model.CredentialsLogSchedule;
import org.apache.ibatis.annotations.Param;

public interface CredentialsLogMapper {
    long countByExample(CredentialsLogExample example);

    int deleteByExample(CredentialsLogExample example);

    int deleteByPrimaryKey(Integer jzId);

    int insert(CredentialsLog record);

    int insertSelective(CredentialsLog record);

    List<CredentialsLog> selectByExample(CredentialsLogExample example);

    CredentialsLog selectByPrimaryKey(Integer jzId);

    int updateByExampleSelective(@Param("record") CredentialsLog record, @Param("example") CredentialsLogExample example);

    int updateByExample(@Param("record") CredentialsLog record, @Param("example") CredentialsLogExample example);

    int updateByPrimaryKeySelective(CredentialsLog record);

    int updateByPrimaryKey(CredentialsLog record);

    List<CredentialsLog> findByAllPageSize(CredentialsLog credentialsLog);

    List<CredentialsLog> selectByAllPageSize(CredentialsLogSchedule credentialsLog);

    CredentialsLogSchedule selectById(Integer jzId);


    List selectAllkm();

    List selectAllzz();

    List selectAllkmye();

    CredentialsLog selectSum();
}